package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.flea.hclv.model.entity.HTrip;

public interface HTripMapper {
    int deleteByPrimaryKey(String id);

    int insert(HTrip record);

    int insertSelective(HTrip record);

    HTrip selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HTrip record);

    int updateByPrimaryKey(HTrip record);
    
	List<HTrip> selectByProductId(@Param("productId") String productId);

	int insertBatch(@Param("entities") List<HTrip> entities)throws Exception;

	int deleteByProductIds(@Param("productIds") List<String> productIds);
}